﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PBOffice.Model
{
    /// <summary>
    /// 消息实体类
    /// </summary>
    public  class Message
    {
        private int messNo;
        /// <summary>
        /// 消息编号
        /// </summary>
        public int MessNo
        {
            get { return messNo; }
            set { messNo = value; }
        }
        private int mbNo;
        /// <summary>
        /// 信箱类型编号
        /// </summary>
        public int MbNo
        {
            get { return mbNo; }
            set { mbNo = value; }
        }
        private string messTitle;
        /// <summary>
        /// 标题
        /// </summary>
        public string MessTitle
        {
            get { return messTitle; }
            set { messTitle = value; }
        }
        private int messtypeNo;
        /// <summary>
        /// 类型编号
        /// </summary>
        public int MesstypeNo
        {
            get { return messtypeNo; }
            set { messtypeNo = value; }
        }
        private string messContent;
        /// <summary>
        /// 内容
        /// </summary>
        public string MessContent
        {
            get { return messContent; }
            set { messContent = value; }
        }
        private DateTime messCreatTime;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime MessCreatTime
        {
            get { return messCreatTime; }
            set { messCreatTime = value; }
        }
        private DateTime messStartTime;
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime MessStartTime
        {
            get { return messStartTime; }
            set { messStartTime = value; }
        }
        private DateTime messEndTime;
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime MessEndTime
        {
            get { return messEndTime; }
            set { messEndTime = value; }
        }
        private bool isPublish;
        /// <summary>
        /// 是否发布。true为发布，false不发布
        /// </summary>
        public bool IsPublish
        {
            get { return isPublish; }
            set { isPublish = value; }
        }
    }
}
